<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2020/4/8
 * Time: 16:07
 */

namespace App\Model;
use Illuminate\Database\Eloquent\Model;

class Country extends Model
{

    protected $table = 'it_country';   //真实表名
    protected $primaryKey = "id";   //主键id
    protected $fillable = ['id','name'];    //允许操作的字段
    public $timestamps  =false; //如果数据表中没有created_at和updated_id字段，则$timestamps则可以不设置，默认为true

}
